package com.lening.community.pojo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ToDo:
 * @Author：潘万法
 * @date: 2024/6/3 16:33
 */
@TableName("shops")
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="商铺管理", description="")
public class Shops implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "sid", type = IdType.AUTO)
    private Long sid;               //商铺管理序号
    //private String communityName;   //社区名称
    @ExcelProperty("所属社区")
    private Long communityId;       //所属社区 外键
    @ExcelProperty("商品区域id")
    private Long shopAreaId;        //商品区域id 外键
    @ExcelProperty("商铺编号")
    private String shopNum;         //商铺编号
    @ExcelProperty("所在楼层")
    private Long flooring;          //所在楼层
    @ExcelProperty("建筑面积")
    private BigDecimal buildArea;         //建筑面积
    @ExcelProperty("使用面积")
    private BigDecimal useArea;           //使用面积
    @ExcelProperty("房屋类型id")
    private Long typeId;           //房屋类型id
    @ExcelProperty("房屋状态")
    private Long houseStatuId;     //房屋状态
    @ExcelProperty("是否删除")
    private Long deleteId;            //1删除   0未删
    @ExcelProperty("绑定业主")
    private Long yid;              //绑定业主
    @ExcelProperty("备注")
    private String remarks;        //备注
}
